SET(DHASH_SRC
	dhash.c
)

ADD_EXECUTABLE(dhash ${DHASH_SRC})
INCLUDE_DIRECTORIES(/usr/include/dNux)
TARGET_LINK_LIBRARIES(dhash -ldcore -ldhash)

INSTALL(TARGETS
		dhash
	RUNTIME DESTINATION
		${DESTDIR}/usr/bin
	RUNTIME PERMISSIONS
		OWNER_READ OWNER_WRITE OWNER_EXECUTE
		WORLD_READ WORLD_EXECUTE
)
		
